package org.ajc.gift;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("org.ajc.gift.mapper")
@EnableFeignClients(basePackages = "org.ajc.gift.clients")  // 开启feign的支持
public class GiftUserApp {
    public static void main(String[] args) {
        SpringApplication.run(GiftUserApp.class,args);
    }
}
